import javaService from '../javaHttp'
// 菜单权限 树
export function getAllMenuList() {
    return javaService({
      url: `${process.env.VUE_APP_BEG_IP}xboot/hontPermission/getAllList`,
      method: 'get'

    })
  }
// 菜单权限 加路由
export function addsave(params) {
    return javaService({
      url: `${process.env.VUE_APP_BEG_IP}xboot/hontPermission/add`,
      method: 'post',
      params

    })
  }
//   菜单权限 修改提交
export function changgesave(params) {
    return javaService({
      url: `${process.env.VUE_APP_BEG_IP}xboot/hontPermission/edit`,
      method: 'post',
      params
    })
  }
//   菜单权限 删除
export function deletearr(params) {
    return javaService({
      url: `${process.env.VUE_APP_BEG_IP}xboot/hontPermission/delByIds/${params}`,
      method: 'delete'

    })
  }

